package org.boge.sharpdoc.bean;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class LayuiReturnData {
    private Integer code;
    private Boolean issuccess;
    private String msg;
    private Integer count;
    private List data;

    public LayuiReturnData() {
    }

    public LayuiReturnData(Integer code) {
        this.code = code;
    }

    public LayuiReturnData(Integer code, Boolean issuccess) {
        this.code = code;
        this.issuccess = issuccess;
    }

    public LayuiReturnData(Integer code, Boolean issuccess, String msg) {
        this.code = code;
        this.issuccess = issuccess;
        this.msg = msg;
    }

    public LayuiReturnData(Integer code, Boolean issuccess, String msg, Integer count) {
        this.code = code;
        this.issuccess = issuccess;
        this.msg = msg;
        this.count = count;
    }

    public LayuiReturnData(Integer code, Boolean issuccess, String msg, Integer count, List data) {
        this.code = code;
        this.issuccess = issuccess;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }
}
